package com.market.goods.dao.po;

import java.io.Serializable;
import javax.persistence.*;

/**
 * 行政省份表
 */
@Table(name = "base_province")
public class BaseProvincePO implements Serializable {
    /**
     * id
     */
    private Long id;

    /**
     * 省名称
     */
    private String name;

    /**
     * 大区id
     */
    @Column(name = "region_id")
    private String regionId;

    /**
     * 行政区位码
     */
    @Column(name = "area_code")
    private String areaCode;

    /**
     * 国际编码
     */
    @Column(name = "iso_code")
    private String isoCode;

    private static final long serialVersionUID = 1L;

    /**
     * ��ȡid
     *
     * @return id - id
     */
    public Long getId() {
        return id;
    }

    /**
     * ����id
     *
     * @param id id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * ��ȡʡ����
     *
     * @return name - ʡ����
     */
    public String getName() {
        return name;
    }

    /**
     * ����ʡ����
     *
     * @param name ʡ����
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * ��ȡ����id
     *
     * @return region_id - ����id
     */
    public String getRegionId() {
        return regionId;
    }

    /**
     * ���ô���id
     *
     * @param regionId ����id
     */
    public void setRegionId(String regionId) {
        this.regionId = regionId == null ? null : regionId.trim();
    }

    /**
     * ��ȡ������λ��
     *
     * @return area_code - ������λ��
     */
    public String getAreaCode() {
        return areaCode;
    }

    /**
     * ����������λ��
     *
     * @param areaCode ������λ��
     */
    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode == null ? null : areaCode.trim();
    }

    /**
     * ��ȡ���ʱ���
     *
     * @return iso_code - ���ʱ���
     */
    public String getIsoCode() {
        return isoCode;
    }

    /**
     * ���ù��ʱ���
     *
     * @param isoCode ���ʱ���
     */
    public void setIsoCode(String isoCode) {
        this.isoCode = isoCode == null ? null : isoCode.trim();
    }
}